package ClassExercise1;

import java.util.Random;
//小于3 为1中奖
public class Exercise4 {
    public static void main(String[] args) {
        Random sh = new Random();
        int i = sh.nextInt(4);
        if(i==1){
            System.out.println("恭喜您中奖"+"i的值为："+i);
        }else{
            System.out.println("很遗憾没有猜中");
        }
    }
}
